package com.lago.dao;

import com.lago.pojo.User;

import java.util.List;

/**
 * @author yuhe
 * @version 1.0
 * @date 2020/11/20 16:26
 */
public interface IUserDao {
    //查询所有用户
    public List<User> findAll() throws Exception;


    //根据条件进行用户查询
    public User findByCondition(User user) throws Exception;

    Integer update(User user) throws Exception;

    Integer insert(User user) throws  Exception;

    Integer delete(User user) throws  Exception;


}
